package org.jsbd.boss.service;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.BookCompany;

public interface IBookCompanyService {

	void save(BookCompany bookCompany);
	
	void save(List<BookCompany> list);
	
	int update(BookCompany bookCompany);

	BookCompany get(BookCompany bookCompany);
		
	BookCompany getById(Integer id);

	List<BookCompany> getList(BookCompany bookCompany);

	Map<String, Object> getListPage(DataGridModel page, BookCompany bookCompany);
	
	void delete(List<Integer> ids);
	
}
